//
//  UITools.h
//  微信
//
//  Created by huangdl on 15/9/24.
//  Copyright (c) 2015年 黄驿. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>


typedef void(^videoBlock)(UIImage *coverImage, NSString * filePath,long audioDurationSeconds);
@interface TZImagePickerTool : NSObject

+(id)tools;
// 相机权限
+ (BOOL)checkCameraPermission;
// 相册权限
+(BOOL)checkPhotoPermisson;
+ (void)selectImageFrom:(id)obj complete:(void(^)(UIImage *img))cb isCamera:(BOOL)isCamera;

+ (void)selectImageForEditFrom:(id)obj complete:(void(^)(UIImage *origionImg,UIImage *editedImage))cb isCamera:(BOOL)isCamera;



-(void)selectVideoFor:(id)obj isDismiss:(BOOL)isDismiss complete:(videoBlock)complete;


@end
